package com.zy.springboothello.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
    @ResponseBody
    @GetMapping("/hello")
    public String handle01() {
        return "OK!+哈哈";
    }
<<<<<<< HEAD
 /**
 *@Author: zy 690748807@qq.com
 * @Param: 
 * @return: 
 * @Date: 2024/3/13
 * @Description: test.html
 */
=======

     /**
     *@Author: zy 690748807@qq.com
     * @Param: 
     * @return: 
     * @Date: 2024/3/13
     * @Description: test.html
     */
>>>>>>> master
    @GetMapping("/test")
    public String test() {
        return "test";
    }
}